projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f7ebb
)
ddr: altera: Fix typo in mp_threshold1 programming
author
Marek Vasut
<
[email protected]
>
Wed, 8 Jul 2015 23:47:56 +0000
(
01:47
+0200)
committer
Marek Vasut
<
[email protected]
>
Sat, 8 Aug 2015 12:14:05 +0000
(14:14 +0200)
It is the configuration data that should go into the register,
not the register mask, just like the surrounding code does it.
Fix this typo.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Chin Liang See <
[email protected]
>
Cc: Dinh Nguyen <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
drivers/ddr/altera/sdram.c
patch
|
blob
|
history
diff --git
a/drivers/ddr/altera/sdram.c
b/drivers/ddr/altera/sdram.c
index 45846debdfea3b4406671ad01f6d14ff4aa7cf62..90a4b2c687c7ac67eae2cc98dfd4beec079bc8c5 100644
(file)
--- a/
drivers/ddr/altera/sdram.c
+++ b/
drivers/ddr/altera/sdram.c
@@
-539,7
+539,7
@@
static void set_sdr_mp_threshold(void)
clrsetbits_le32(&sdr_ctrl->mp_threshold1,
SDR_CTRLGRP_MPTHRESHOLDRST_1_THRESHOLDRSTCYCLES_63_32_MASK,
-
SDR_CTRLGRP_MPTHRESHOLDRST_1_THRESHOLDRSTCYCLES_63_32_MASK
<<
+
CONFIG_HPS_SDR_CTRLCFG_MPTHRESHOLDRST_1_THRESHOLDRSTCYCLES_63_32
<<
SDR_CTRLGRP_MPTHRESHOLDRST_1_THRESHOLDRSTCYCLES_63_32_LSB);
clrsetbits_le32(&sdr_ctrl->mp_threshold2,